<template>
    <div>
        <div>这是demo1</div>
        <demo2/>
    </div>
</template>

<script>
    import demo2 from './demo2';
    export default {
        components:{
            demo2
        },
        provide () {
            return {
                protest: this
            }
        },
        data() {
            return {
                demo1Name: '测试11',
                demo1Age: 11,
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>
